import request from "@/utils/request";
import type { Repair } from "./type";

export const saveRepair = (repair: Repair) => {
    return request.post("/repair/add", repair);
}

export const getRepairList = () => {
    return request.get("/repair/list");
}